const autoprefixer = require("autoprefixer");
const pxtorem = require("postcss-pxtorem");

module.exports = {
	/* PostCSS 配置 */
	css: {
		loaderOptions: {
			postcss: {
				plugins: [
					autoprefixer({
						browsers: ["Android >= 4.0", "iOS >= 8"]
					}),
					pxtorem({
						rootValue: 37.5,
						propList: ["*"]
					})
				]
			}
		}
	},
};